﻿@{
    ViewBag.Title = "Home Page";
}

<h2>Welcome to EzyGoEzy!</h2>
<p>
    @*To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
    @if (((EzyGoEzySystem.Models.Account)HttpContext.Current.Session["Account"]) != null )
    {
        EzyGoEzySystem.Models.Account account = (EzyGoEzySystem.Models.Account)HttpContext.Current.Session["Account"];
        if (account.IsAdmin)
        {
            <li>@Html.ActionLink("SetTrafficInfo", "SetTrafficInfo", "AdminPanel")</li>
        }
        //<p>Hi, @account.Username</p>
    }*@
</p>

